package com.wjbgn.electronicnian.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Description:
 * Create Date: 2022-01-20T11:06:12.872423800
 *
 * @author weirx
 * @version 1.0
 */
@Data
@ApiModel(value = "NianDumplingsDTO", description = "数据传输对象NianDumplingsDTO")
public class NianDumplingsDTO extends PageDTO {

    /**
     *
     */
    @ApiModelProperty(notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 年兽id
     */
    @ApiModelProperty(notes = "年兽id")
    private Long nianId;

    /**
     * 饺子名字
     */
    @ApiModelProperty(notes = "饺子名字")
    private String dumplingsName;

    /**
     * 饺子饥饿值
     */
    @ApiModelProperty(notes = "饺子饥饿值")
    private Integer hungryNum;

    /**
     * 饺子数量
     */
    @ApiModelProperty(notes = "饺子数量")
    private Integer dumplingsNum;

    /**
     * 创建时间
     */
    @ApiModelProperty(notes = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(notes = "更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    /**
     * 是否删除 1：是  0否
     */
    @ApiModelProperty(notes = "是否删除 1：是  0否")
    private Integer isDelete;

}
